package io.file;

import java.io.File;
import java.io.IOException;

public class FileCheck {
	public static void main(String args[]) throws IOException {
		File ff = new File("c:\\boot.ini");
		System.out.println(ff.getPath());
		System.out.println(ff.getName());
		System.out.println(ff.canRead());
		System.out.println(ff.canWrite());
	}
}